import {create} from "zustand";

export interface BaseStoreState {
    isAuth: boolean,
    setIsAuth: (isAuth: boolean) => void,
}

const useBaseStore = create<BaseStoreState>(set => ({
    isAuth: false,
    setIsAuth(isAuth: boolean) {
        set({isAuth});
    },
}))
export default useBaseStore